package cn.gov.pbc.dream.dao;

import cn.gov.pbc.dream.pojo.repository.BankFinancingProductCustomerDo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface BankFinancingProductCustomerDoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BankFinancingProductCustomerDo record);

    int insertSelective(BankFinancingProductCustomerDo record);

    BankFinancingProductCustomerDo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BankFinancingProductCustomerDo record);

    int updateByPrimaryKey(BankFinancingProductCustomerDo record);

    int deleteByReportOrgCodeAndReportTime(@Param("reportOrgCode") String reportOrgCode,
                                           @Param("reportTime") Date reportTime);

    int deleteByProductCode(String productCode);
}